<%@ Page Language="vb" AutoEventWireup="false" Codebehind="OrderStatusReport_Print.aspx.vb" Inherits="MIMS_WRS.Web.OrderStatusReport_Print"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>OrderStatusReport_Print</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../style.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="../Js/EventCapture.js"></script>
		<script language="javascript">
		<!--
		function Print_click() {
			window.document.getElementById('btnPrint').style.display = "none";
			window.document.getElementById('btnClose').style.display = "none";
			window.document.getElementById('lblPrintingInstruction').style.display = "none";
			
			window.print();
			
			window.document.getElementById('btnPrint').style.display = "";
			window.document.getElementById('btnClose').style.display = "";
			window.document.getElementById('lblPrintingInstruction').style.display = "";
		}
		//-->
		</script>
	</HEAD>
	<body class="bgwhite" bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0">
		<form id="Form1" method="post" runat="server">
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td height="100%" align="center" valign="top">
						<table width="100%" height="100%" border="0" cellpadding="2" cellspacing="2" class="border1">
							<tr>
								<td align="center" class="bggrey">
									<TABLE width="100%" height="100%" border="0" cellPadding="3" cellSpacing="0">
										<TR align="center" class="bgmenu">
											<TD width="100%" height="30"><span class="txtnormal"><strong> ORDER STATUS REPORT</strong></span></TD>
										</TR>
										<TR align="center" class="txtnormal">
											<TD valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td height="25" align="right" class="bgtitle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td width="80%">
																		<table border="0" cellpadding="1" cellspacing="0" class="txtnormal">
																			<tr>
																				<td><span class="title"><strong> </strong></span><strong><strong>Customer:</strong></strong><span class="txtcolor2"><strong><strong>
																								<asp:Label id="lblCustomerName" runat="server"></asp:Label></strong></strong></span></td>
																				<td>&nbsp;</td>
																				<td><span class="title"><strong> </strong></span><strong><strong><strong>By Supplier</strong><strong></strong>
																							:</strong></strong></td>
																				<td class="txtcolor2"><strong>
																						<asp:Label id="lblSupplier" runat="server"></asp:Label></strong></td>
																				<td>&nbsp;</td>
																				<td><strong><strong>Arrival Port</strong>:</strong></td>
																				<td class="txtcolor2"><strong>
																						<asp:Label id="lblArrivalPort" runat="server"></asp:Label>
																					</strong>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<td width="20%" align="right" class="txtcolor1s">
																		<asp:Label id="lblWeek" runat="server"></asp:Label>
																	</td>
																</tr>
															</table>
														</td>
													</tr>
													<tr>
														<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="border">
																<tr>
																	<td valign="top"><asp:Literal id="litReport" runat="server"></asp:Literal></td>
																</tr>
															</table>
														</td>
													</tr>
													<tr>
														<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td height="1" bgcolor="#ffffff" class="txtcolor1s"><img src="../images/1pxl.gif" width="1" height="1"></td>
																</tr>
																<tr>
																	<td height="25" class="rowpage"><table width="100%" border="0" cellpadding="0" cellspacing="0">
																			<tr>
																				<td width="44%" height="25">
																					<span class="txtcolor1"></span><span class="txtsmall"><strong>TOTAL: </strong></span>
																					<span class="txthighlight"><strong>
																							<asp:Label id="lblTotalItem" runat="server"></asp:Label></strong></span><span class="txtsmall"><strong>
																							ITEM(S)</strong></span><span class="txtcolor1"> </span>
																				</td>
																				<td width="56%" align="right">&nbsp;
																				</td>
																			</tr>
																		</table>
																	</td>
																</tr>
																<tr>
																	<td height="1" class="border"><img src="../images/1pxl.gif" width="1" height="1"></td>
																</tr>
															</table>
															<table width="100%" border="0" cellspacing="0" cellpadding="2">
																<tr>
																	<td align=left>
																		<asp:Label id="lblPrintingInstruction" runat="server" CssClass="txtSmall">
																			Please read this page carefully before click on "Print" button at the bottom of the page
																			<UL>
																				<li>Verify that your printer is setup correctly</li>
																				<li>Set the default paper of printer to Letter or A4 size</li>
																				<li>Go back to the main window, in the File menu, select Page Setup, clear header and footer textboxes (Internet Explorer)</li>
																				<li>In the Tools menu, select Internet Option, choose Advanced tab, make sure that the Print background colors and images is selected</li>
																				<li>Set the paper size to A4</li>
																				<li>Set the orientation to Landscape.</li>
																			</UL>
																		</asp:Label>
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</TD>
										</TR>
										<TR align="center" class="txtnormal" id="buttons" style="DISPLAY:inline">
											<TD height="30"><span class="txtsmall"> <input id="btnPrint" name="btnPrint" type="button" value="Print" class="button" onclick="Print_click()">&nbsp;<input class="button" type="button" value="Close" onclick="window.close()" id="btnClose"
														name="btnClose"> </span>
											</TD>
										</TR>
										<TR align="center" class="txtnormal">
											<TD height="10"><img src="../images/1pxl.gif" width="1" height="1"></TD>
										</TR>
									</TABLE>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
